/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *@author 彭文联
 * @author Administrator
 */
public class Calc {
    public int add(int a,int b){
      return a+b;
    }
    public static void main(String args[]){
       Calc atest=new  Calc();
       int x=10,y=20;
       int r=atest.add(x, y);
     System.out.println(x+"+"+y+"="+r);  
    }

}
